package org.jeecg.modules.icms.invoice.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 发票行表
 * @Author: jeecg-boot
 * @Date:   2024-01-10
 * @Version: V1.0
 */
@Data
@TableName("icms_invoice_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="icms_invoice_detail对象", description="发票行表")
public class IcmsInvoiceDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**发票头id*/
	@Excel(name = "发票头id", width = 15)
    @ApiModelProperty(value = "发票头id")
    private String invoiceHeaderId;
	/**零件编码*/
	@Excel(name = "零件编码", width = 15)
    @ApiModelProperty(value = "零件编码")
    private String partNo;
	/**零件名称*/
	@Excel(name = "零件名称", width = 15)
    @ApiModelProperty(value = "零件名称")
    private String partName;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private Double qty;
	/**单位*/
	@Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String unit;
	/**零件英文名*/
	@Excel(name = "零件英文名", width = 15)
    @ApiModelProperty(value = "零件英文名")
    private String partNameEn;
	/**财务性质*/
	@Excel(name = "财务性质", width = 15)
    @ApiModelProperty(value = "财务性质")
    private String accountNature;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**开票含税单价（元）*/
	@Excel(name = "开票含税单价（元）", width = 15)
    @ApiModelProperty(value = "开票含税单价（元）")
    private Double kphsdj;
	/**无税单价（元）*/
	@Excel(name = "无税单价（元）", width = 15)
    @ApiModelProperty(value = "无税单价（元）")
    private Double wsdj;
	/**无税金额（元）*/
	@Excel(name = "无税金额（元）", width = 15)
    @ApiModelProperty(value = "无税金额（元）")
    private Double wsje;
	/**税率(%)*/
	@Excel(name = "税率(%)", width = 15)
    @ApiModelProperty(value = "税率(%)")
    private Double taxRate;
	/**税额(元)*/
	@Excel(name = "税额(元)", width = 15)
    @ApiModelProperty(value = "税额(元)")
    private Double taxAmount;
	/**价税合计(元)*/
	@Excel(name = "价税合计(元)", width = 15)
    @ApiModelProperty(value = "价税合计(元)")
    private Double jshj;
	/**开票备注*/
	@Excel(name = "开票备注", width = 15)
    @ApiModelProperty(value = "开票备注")
    private String invoiceRemark;
	/**是否报关*/
	@Excel(name = "是否报关", width = 15, dicCode = "customs_flag")
	@Dict(dicCode = "customs_flag")
    @ApiModelProperty(value = "是否报关")
    private String customsFlag;
}
